home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
OS2
/
MS_SH200.ARJ
/
PROTO.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-13
|
688b
|
47 lines
/*
* Prototype definitions for Standard and Non-standard compilers
*/
#ifndef _PROTO
#define _NEAR
#define _CDECL
#define _FAR_
#define _LOADDS_
#ifdef MSDOS
# if defined(_DLL) && !defined(_MT)
# error Cannot define _DLL without _MT
# endif
# ifdef _DLL
# undef _LOADDS_
# define _LOADDS_ _loadds
# endif
# ifdef _MT
# undef _FAR_
# define _FAR_ _far
# endif
# ifndef __STDC__
# define __STDC__ 1
# endif
# undef _CDECL
# define _CDECL cdecl
# undef _NEAR
# define _NEAR near
#endif
#ifdef __STDC__
# define _PROTO(p) p
#else
# define _PROTO(p) ()
# undef const
# undef volatile
#endif
#endif